package com.ruoyi.system.domain;

import java.util.Date;

/**
 * 首页中间数据(中间表)
 */
public class HomeMiddleData {
    /**
     * 热推id
     */
    private Long id;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 需求名称
     */
    private String demand;

    /**
     * 需求id
     */
    private Integer demandId;

    /**
     * 0 源码/1工具/2账号/3其它
     */
    private String type;

    /**
     * 是否置顶 0不是 1是
     */
    private String isSticky;

    /**
     * 是否删除 0不是 1是
     */
    private String isDelete;

    /**
     * 用户id
     */
    private Long userId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDemand() {
        return demand;
    }

    public void setDemand(String demand) {
        this.demand = demand;
    }

    public Integer getDemandId() {
        return demandId;
    }

    public void setDemandId(Integer demandId) {
        this.demandId = demandId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getIsSticky() {
        return isSticky;
    }

    public void setIsSticky(String isSticky) {
        this.isSticky = isSticky;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createTime=").append(createTime);
        sb.append(", demand=").append(demand);
        sb.append(", demandId=").append(demandId);
        sb.append(", type=").append(type);
        sb.append(", isSticky=").append(isSticky);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", userId=").append(userId);
        sb.append("]");
        return sb.toString();
    }
}